#pragma once

#include "fxcc/core/graph/common/RenderTargetJack.h"
#include "fxcc/core/graph/directX11/Texture2DJack.h"

namespace fxcc {

	namespace graph
	{
		namespace directX11
		{
			struct FXCC_API RenderTargetJack :public fxcc::graph::common::RenderTargetJack
			{
				RenderTargetJack(const fxcc::graph::common::RenderTargetJack::Desc& desc);

				std::shared_ptr<fxcc::graph::directX11::Texture2DJack> m_DepthStencilTexture;

				std::vector<std::shared_ptr<fxcc::graph::directX11::Texture2DJack>> m_Textures;

				void Begin();

				void End();

				void Load();

				bool Init();
			};
		}
	}
}